@charset 'utf-8';

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.center {
  width: 1200px;
  margin: 0 auto;
}

main {
  width: 100%;
  height: 600px;
  background-image: url(../img/background.jpg);
  background-position: -500px 0;

  .center {
    position: relative;

    .box {
      display: flex;
      width: 350px;
      height: 350px;
      position: absolute;
      left: 740px;
      top: 125px;
      overflow: hidden;

      .login {
        min-width: 350px;
        height: 350px;
        background-color: rgb(233, 233, 243);
        

        .img {
          float: right;
          margin-top: 2px;
          margin-right: 2px;
        }

        .text {
          width: 110px;
          height: 28px;
          font-size: 12px;
          color: orange;
          background-color: #FEFCEE;
          border: 1px solid orange;
          text-align: center;
          line-height: 28px;
          position: absolute;
          right: 53px;
          top: 6px;
        }

        .cen {
          padding-top: 30px;
          padding-left: 25px;

          .tab {

            ul {
              list-style-type: none;

              a {
                float: left;
                width: 100px;
                font-size: 16px;
                font-weight: 700;
                color: black;
                text-decoration: none;
                // box-sizing: border-box;
              }
            }

          }

          .clear {
            clear: both;
          }

          .content {
            width: 300px;
            height: 260px;

            overflow: hidden;

            #con1,
            #con2 {
              width: 100%;
              height: 100%;
              background-color: rgb(233, 233, 243);

              .page1 {
                display: flex;
                padding-top: 20px;
                margin-bottom: 20px;

                .username {
                  width: 255px;
                  height: 40px;
                }
              }

              .page2 {
                display: flex;
                margin-bottom: 20px;

                .password {
                  width: 255px;
                  height: 40px;
                }
              }

              button {
                width: 298px;
                height: 40px;
                margin-bottom: 20px;
                color: white;
                background: linear-gradient(to right, #FFCC80,#FFA880);
                border: 0;
              }

              .page3 {
                margin-bottom: 20px;

                a {
                  color: black;

                  &:hover {
                    color: red;
                    text-decoration: none;
                  }

                  span {

                    font-size: 14px;
                    line-height: 16px;

                  }
                }
              }

              >a {
                display: flex;
                justify-content: right;
                flex-wrap: nowrap;
                flex-direction: row;
                color: black;

                &:hover {
                  color: red;
                  text-decoration: none;
                }
              }
            }

            #con1 {
              .page4 {
                display: flex;
                justify-content: right;

                >a {
                  padding-left: 10px;
                  color: black;

                  &:hover {
                    color: red;
                    text-decoration: none;
                  }
                }
              }
            }

            #con2 {
              #select {
                overflow: hidden;
                // appearance: none;
              }
            }
          }
        }

        .login2 {
          width: 350px;
          height: 353px;
          background-color: red;
          display: none;
        }
      }

      .login2 {
        min-width: 350px;
        height: 350px;
        background-color: rgb(233, 233, 243);
        position: relative;
        .img{
          float: right;
          margin-top: 2px;
          margin-right: 2px;
        }

        .text1{
          width: 300px;
          height: 44px;
          margin: 0 auto;
          padding: 40px 25px 25px;
          font-size: 18px;
        }

        .img2{
          position: absolute;
          left: 110px;
          top: 110px;
        }

        .text2{
          font-size: 12px;
          
          position: absolute;
          top: 260px;
          left: 100px;
          display: flex;
          span{
            padding-top: 1px;
          }
          p{
            padding-left: 10px;
          }
          a{
            color: black;
            &:hover{
              color: red;
              text-decoration: none;
            }
          }
        }

        .text3{
          font-size: 12px;
          position: absolute;
          right: 25px;
          bottom: 25px;
          a{
            color: black;
            padding-left: 10px;
            &:hover{
              color: red;
              text-decoration: none;
            }
          }
        }
      }
    }
  }
}

footer {
  margin-top: 60px;

  .center {
    overflow: hidden;

    >ul {
      height: 40px;
      border-top: 1px solid gray;
      list-style: none;

      li {
        float: left;
        margin-top: 10px;
        padding-left: 14px;
        padding-right: 14px;
        border-right: 1px solid gray;


        a {
          font-size: 12px;

          &:hover {
            color: red;
            text-decoration: none;
          }
        }
      }
    }

    >.buttom {
      border-top: 1px solid gray;

      .top {
        width: 100%;
        margin-top: 10px;

        a {
          font-size: 12px;
          padding-right: 12px;

          &:hover {
            color: red;
            text-decoration: none;
          }
        }

        span {
          font-size: 12px;
          padding-left: 40px;
        }
      }

      .under {
        height: 30px;

        ul {
          list-style: none;

          li {
            float: left;
            font-size: 12px;
            border-right: 1px solid gray;
            padding-right: 5px;

            a:hover {
              color: red;
              text-decoration: none;
            }
          }

          .text {
            padding-left: 5px;
          }

          .text2 {
            padding-left: 5px;
            border-right: 0;
          }
        }
      }
    }
  }
}